#ifndef MODELLINGFORMINTERFACE_H
#define MODELLINGFORMINTERFACE_H



#include <ItemModel.h>



class AbstractModellingForm
{
public:

    enum Action
    {
        Action_FIRST = 0,

        AddAction = Action_FIRST,
        DeleteAction,

        Action_LAST = DeleteAction
    };

    AbstractModellingForm(ItemModel* model = 0);

    virtual void setModel(ItemModel* model);
    virtual ItemModel* model() const;

    virtual void onAction(const int& action) = 0;


protected:

    ItemModel* m_model;

};



#endif // MODELLINGFORMINTERFACE_H
